import { RequestConfig } from "@/types/api";
import { UserLoginParams } from "@/types/api/user";
import { UserLoginResponse } from "@/types/response/user";
import Request from "@/utils/request";

/** 用户API */
export default class UserApi {
  /** 登录 */
  @Request.post("/user/login")
  public static async login(data: UserLoginParams, response?: UserLoginResponse): Promise<UserLoginResponse | null> {
    return response || null;
  }
}
